package com.shxc.smarttrade.old.bean;

import java.util.List;

/**
 * Created by jcdev1 on 2017/6/8.
 */

public class UserInfo {

    /**
     * mt4Id : 768113
     * equity : 2021.49
     */

    /**
     * {"data":{"totalVolume":0,"yieldRate":0,"lossTrade":0,"profitMonth":{"month":[11,10,9,8,7],"profit":[0,0,0,0,0]},"accType":0,"totalCount":0,"profitTrade":0,"accStatus":2,"mt4Id":null,"equity":1000.0000},"err_code":"0","err_msg":"successe"}
     */
    private int isRecharge;
    private String mt4Id;
    private double equity;
    private int accStatus;
    private double totalVolume;
    private double profitTradeRate;
    private int totalCount;
    private double closeProfitRate;
    private ProfitMonthBean profitMonth;
    private double yieldRate;
    private double lossTrade;
    private int accType;
    private double profitTrade;//盈利订单
    private double profitCount;
    private String headUrl;
    private String nick;

    public String getHeadUrl() {
        return headUrl;
    }

    public void setHeadUrl(String headUrl) {
        this.headUrl = headUrl;
    }

    public String getNick() {
        return nick;
    }

    public void setNick(String nick) {
        this.nick = nick;
    }

    public double getProfitCount() {
        return profitCount;
    }

    public void setProfitCount(double profitCount) {
        this.profitCount = profitCount;
    }

    public ProfitMonthBean getProfitMonth() {
        return profitMonth;
    }

    public void setProfitMonth(ProfitMonthBean profitMonth) {
        this.profitMonth = profitMonth;
    }

    public double getYieldRate() {
        return yieldRate;
    }

    public void setYieldRate(double yieldRate) {
        this.yieldRate = yieldRate;
    }

    public double getLossTrade() {
        return lossTrade;
    }

    public void setLossTrade(double lossTrade) {
        this.lossTrade = lossTrade;
    }

    public int getAccType() {
        return accType;
    }

    public void setAccType(int accType) {
        this.accType = accType;
    }

    public double getProfitTrade() {
        return profitTrade;
    }

    public void setProfitTrade(double profitTrade) {
        this.profitTrade = profitTrade;
    }

    public double getTotalVolume() {
        return totalVolume;
    }

    public void setTotalVolume(double totalVolume) {
        this.totalVolume = totalVolume;
    }

    public double getProfitTradeRate() {
        return profitTradeRate;
    }

    public void setProfitTradeRate(double profitTradeRate) {
        this.profitTradeRate = profitTradeRate;
    }

    public int getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }

    public double getCloseProfitRate() {
        return closeProfitRate;
    }

    public void setCloseProfitRate(double closeProfitRate) {
        this.closeProfitRate = closeProfitRate;
    }

    public int getIsRecharge() {
        return isRecharge;
    }

    public void setIsRecharge(int isRecharge) {
        this.isRecharge = isRecharge;
    }

    public int getAccStatus() {
        return accStatus;
    }

    public void setAccStatus(int accStatus) {
        this.accStatus = accStatus;
    }

    public String getMt4Id() {
        return mt4Id;
    }

    public void setMt4Id(String mt4Id) {
        this.mt4Id = mt4Id;
    }

    public double getEquity() {
        return equity;
    }

    public void setEquity(double equity) {
        this.equity = equity;
    }

    public static class ProfitMonthBean {
        private List<Integer> month;
        private List<Double> profit;

        public List<Integer> getMonth() {
            return month;
        }

        public void setMonth(List<Integer> month) {
            this.month = month;
        }

        public List<Double> getProfit() {
            return profit;
        }

        public void setProfit(List<Double> profit) {
            this.profit = profit;
        }
    }
}
